

<div id="content">	
		<a name="top" id="top"></a>
		<?php if($this->data['sitenotice']) { ?>
			<div id="siteNotice"><?php $this->html('sitenotice') ?></div>
		<?php } ?>
		
		<h1 class="firstHeading"><?php $this->data['displaytitle']!=""?$this->html('title'):$this->text('title') ?></h1>
		<div id="bodyContent">
			<h3 id="siteSub"><?php $this->msg('tagline') ?></h3>
			
			<div id="contentSub"><?php $this->html('subtitle') ?></div>
			
			<?php if($this->data['undelete']) { ?>
				<div id="contentSub2"><?php     $this->html('undelete') ?></div>
			<?php } ?>
			
			<?php if($this->data['newtalk'] ) { ?>
				<div class="usermessage"><?php $this->html('newtalk')  ?></div>
			<?php } ?>
			
			<?php if($this->data['showjumplinks']) { ?>
				<div id="jump-to-nav">
					<?php $this->msg('jumpto') ?> 
					<a href="#column-one"><?php $this->msg('jumptonavigation') ?></a>, 
					<a href="#searchInput"><?php $this->msg('jumptosearch') ?></a>
				</div>
			<?php } ?>
			
			<!-- start content -->
			<?php $this->html('bodytext') ?>
			<?php if($this->data['catlinks']) { ?><div id="catlinks"><?php       $this->html('catlinks') ?></div><?php } ?>
			<!-- end content -->
			
			<div class="visualClear"></div>
		</div>
</div>


		<div id="p-cactions" class="portlet">
		<h5><?php $this->msg('views') ?></h5>
		<div class="pBody">
			<ul>
				<?php			
				foreach($this->data['content_actions'] as $key => $tab) { ?>
				 
				 <li id="ca-<?php echo Sanitizer::escapeId($key) ?>"
					<?php if($tab['class']) { ?> class="<?php echo htmlspecialchars($tab['class']) ?>"<?php } ?>
					>
					<a href="<?= htmlspecialchars($tab['href']) ?>"<?= $skin->tooltipAndAccesskey('ca-'.$key) ?>>
					<?= htmlspecialchars($tab['text']) ?></a></li>
				<?php } ?>
			</ul>
		</div>
		</div>